package org.dong.mapper;

import org.apache.ibatis.annotations.Param;
import org.dong.pojo.Target;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface TargetMapper {
    List<Target> getTargetList(@Param("id") Integer projectId);

    Integer addTargetDetail(@Param("tid") Integer targetId,@Param("rid") Integer reportId);

    List<Target> getDetailList(@Param("id")Integer reportId);

    Integer updateTargetInfo(@Param("id") Integer id,@Param("num") String num);
}
